home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.1 (Developer) [x86] / NeXT Step 3.1 Intel dev.cdr.dmg / NextDeveloper / Examples / UNIX / Floppy / README < prev   
Text File  |  1993-02-18  |  687b  |  13 lines

  1. This example is actually the source for /usr/etc/fdform, the NeXT Floppy Disk Format utility. This formats a floppy disk at any specified density using the fd driver. Command line options are as described in the fdform man page. 
  2.  
  3. This example illustrates how to do the following:
  4.  
  5.     -- Inquire the fd driver as to the type of media present.
  6.     -- Give the driver new format parameters.
  7.     -- Generate commands, such as Recalibrate, Format Track, and Seek, and
  8.        send them to the Intel 82077 controller chip via the FDIOCREQ ioctl.
  9.     -- Read the disk, one track at a time, using the FDIOCRRW ioctl.
  10.  
  11. Refer to the man page for fd(4) for specific information on using the floppy disk driver.
  12.  
  13.